Test for special mode-class in view-buffer instead of view-file (bug#5513).
authorJuri Linkov <juri@jurta.org>
Sun, 18 Apr 2010 23:49:58 +0000 (02:49 +0300)
committerJuri Linkov <juri@jurta.org>
Sun, 18 Apr 2010 23:49:58 +0000 (02:49 +0300)
commit1db30b30c12fc38e35c1e8462e180738c114a702
tree09e17980a5f98225f9b5b3c26214bad352c975ce
parent05722156992029ba3d72196745b3a55de2e9b731
Test for special mode-class in view-buffer instead of view-file (bug#5513).

* view.el (view-file, view-buffer): Move test for special mode-class
from view-file to view-buffer.

* tar-mode.el (tar-extract): Turn if's into one cond
like in arc-mode.el.
etc/NEWS
lisp/ChangeLog
lisp/arc-mode.el
lisp/tar-mode.el
lisp/view.el